{include file=$header_start}
{strip}
<link rel="stylesheet" type="text/css" href="{$siteroot}/templates/default/style/registration.css">
{/strip}
{literal}
<script type="text/javascript">
	jQuery(document).ready(function(){
		jQuery("#btn_remove").click(function(){
			jQuery("#frmTradesmanAdd").attr('action',SITEROOT + '/register/step2/').submit();
				
		});
		jQuery("#btn_back").click(function(){
			window.location.href=SITEROOT +'/register/'
				
		});		
	});

</script>
{/literal}
{include file=$header_end}
<body ></body>
<!-- MIDDLE CONTAIN GOES HERE -->
<section class="inner_wrapper">
<section class="middle_portion">
	<h1 class="registr_head">registration</h1>
    <section class="regis_steps_breadcrum_wrapper">
        <section class="lF"><img src="{$siteroot}/templates/default/images/register_steps/registr_step1.png"></section>
        <section class="lF"><img src="{$siteroot}/templates/default/images/register_steps/registr_step2_ho.png"></section>
        <section class="lF"><img src="{$siteroot}/templates/default/images/register_steps/registr_step3.png"></section>
        <section class="lF"><img src="{$siteroot}/templates/default/images/register_steps/registr_step4.png"></section>
        <section class="lF"><img src="{$siteroot}/templates/default/images/register_steps/registr_step5.png"></section>
        <section class="clear"></section>
    </section>    
      <section class="regist_form no_bor">
         <section class="heading_per">Category and Services</section>
        <section class="heading_titlesmall">If you want to remove your trade categories then you can remove here</section>
        <section class="clear"></section>
   		<form id="frmTradesmanAdd" name="frmTradesmanAdd" method="POST" action="{$siteroot}/register/step3/">        
        <section class="cat_main">
         <table cellpadding="0" cellspacing="0" width="100%" class="table_viewbox">
                <thead>
                    <tr>
                        <th width="10">#</th>
                        <th>Category Name</th>
                        <th width="100" style="text-align:center;">Expiry time</th>
                        <th width="50" style="text-align:right;">Price</th>
                    </tr>
                </thead>
                <tbody>
                	{section name=i loop=$cats}
                	<tr>
                        <td colspan="4" class="registr_head_td">{$cats[i].trade_category}</td>
                        
                     </tr>
                	{section name=j loop=$cats[i].data}
                    <tr>
                        <td><input type="checkbox" value="{$cats[i].data[j].id}"  name="subcat[{$cats[i].id}][]"/></td>
                        <td>{$cats[i].data[j].trade_category}</td>
                        <td style="text-align:center;">{$cats[i].data[j].expired_time} months</td>
                        <td style="text-align:right;">${$cats[i].data[j].price}</td>
                     </tr>
	                {/section}
                    {/section}
                      	
              	 <tr>
                    <td colspan="3"><strong>Total Price</strong></td>
                    <td style="text-align:right">$<span id="total_price"><strong>{$total}</strong></span></td>                    
                </tr>
             </tbody>
         </table> 
          <table cellpadding="0" cellspacing="0" width="100%" border="0">
          		<tr>
                	<td align="left" width="50%"><input type="button" class="org_btn admore" value="Remove" id="btn_remove" /></td>
                    <td align="right"><input type="button" class="blue_btn rF" value="Back"  name="back" id="btn_back" /></td>
                    <td align="right" width="70"><input type="submit" class="blue_btn rF" value="Next"  name="btnstep3" id="btnstep3" /></td>
                </tr>
          </table>
    <section class="clear"></section>
    </section>
   </section> 
    
    <section class="clear"></section>
    <input type="hidden" name="remove" value="1" /> 
  </form>
</section>
</section>
{include file=$footer}